package com.sicpa.common.enums;

/**
 * AbnormalInfoEnum
 *
 * @author lwf
 */
public enum AbnormalInfoEnum {

    SUCCESS(200, "成功"),
    REPORT_NO_REPEAT(500,"系统已存在当前报告文号!"),
    REPORT_NO_NON_EXISTENT(500,"缺少报告文号!"),
    ABNORMAL_IMPORTABLE(205,"数据异常，但可导入"),
    ;

    AbnormalInfoEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private Integer code;

    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
